package dto;

public class BidResult {
    private boolean success;
    private String message;

    public static BidResult success() {
        BidResult r = new BidResult();
        r.success = true;
        r.message = "出价成功";
        return r;
    }

    public static BidResult fail(String msg) {
        BidResult r = new BidResult();
        r.success = false;
        r.message = msg;
        return r;
    }

    public boolean isSuccess() {
        return success;
    }

    public String getMessage() {
        return message;
    }
    // Getter, Setter
}
